﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Police/Police.master" AutoEventWireup="true"
    CodeFile="TransferTreatList.aspx.cs" Inherits="Police_TranslateDocument_TransferTreatList"
    StylesheetTheme="Content" %>

<%@ Register Src="../../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <asp:GridView ID="GV" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
            Caption="<span>士兵调动商调函列表</span>" OnRowDataBound="gv_RowDataBound" PageSize="15"
            OnRowCommand="gv_RowCommand">
            <Columns>
                <asp:TemplateField>
                    <HeaderStyle HorizontalAlign="Left" Width="5%" />
                    <ItemTemplate>
                        <asp:Label runat="server" ID="lblID"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="姓名">
                    <ItemTemplate>
                        <%#Eval("SoldierName")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="姓别">
                    <ItemTemplate>
                        <%#Eval("Sex")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="原部职别">
                    <ItemTemplate>
                        <%#Eval("OldDepartment")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="承办人">
                    <ItemTemplate>
                        <%# Eval("Undertaker")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="发函时间">
                    <ItemTemplate>
                        <%# Convert.ToDateTime(Eval("DataLetter")).ToString("yyyy-MM-dd")%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="最后更新时间">
                    <ItemTemplate>
                        <%# Eval("DateBook") %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <a href="TransferTreatNew.aspx?ID=<%# Eval("id") %>">
                            <img alt="编辑" src="../../Images/Edit.gif" /></abbr></a>
                        <asp:ImageButton runat="server" CommandArgument='<%# Eval("id") %>' ID="lkbDel" CommandName="Del"
                            ImageUrl="~/Images/delete.gif" OnClientClick="return confirm('是否真的删除?')"></asp:ImageButton>
                        <a href="FireProjectView1.aspx?id=<%# Eval("id") %>">
                            <img alt="查看" src="../../Images/UserView.gif" /></a>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle HorizontalAlign="Left" />
            <HeaderStyle HorizontalAlign="Left" />
        </asp:GridView>
        <uc1:ListPageContral ID="ListPageContral1" runat="server" PageSize="15" OnPageSizeChange="ListPageContral1_PageSizeChange" />
        <br />
        <asp:Label runat="server" ID="lblwhere" Visible="False"></asp:Label><div class="prompt">
            <asp:Label ID="Prompt" runat="server"></asp:Label></div>
    </div>
</asp:Content>
